<!--<script>
export default {
  functional: true,
  name: 'RenderComp',
  props: {
    createElementFunc: Function,
    row:Object
  },
  render (h,data) {
    const params = {
      row: data.props.row,
    }
    // return this.createElementFunc(h,this.row)
    setTimeout(()=>{
      return data.props.createElementFunc(h, params)
    })
  }
}
</script>-->
<script>
  export default {
    name: 'RenderComp',
    props: {
      createElementFunc: Function
    },
    render (h) {
      console.log("h",h)
      return this.createElementFunc(h)
    }
  }
</script>
<!--<script>
  export default {
    name: 'RenderComp',
    props: {
      createElementFunc: Function,
      scope:Object
    },
    render (h) {
      // console.log(h)
      return this.createElementFunc(h,this.scope)
    }
  }
</script>-->

<!--<script>
  export default {
    functional: true,
    props: {
      row: Object,
      render: Function,
      index: Number,
      column: {
        type: Object,
        default: null
      }
    },
    render: (h, data) => {
      const params = {
        row: data.props.row,
        index: data.props.index
      }
      if (data.props.column) params.column = data.props.column
      return data.props.render(h, params)
    }
  }
</script>-->

